package AFMAnalysis;

import java.util.ArrayList;

public class Blob {

	Pixel head;
	int blobID;
	int size;
	boolean inGrain;
	int grainID;
	double[] center;
	ArrayList<ScaledBlob> closestBlobs;
	ArrayList<Double> slopes;
	
	
	public Blob(Pixel h, int ID, int s){
		
		head = h;
		blobID = ID;
		size = s;
		inGrain = false;
		center = new double[2];
		closestBlobs = new ArrayList<ScaledBlob>();
		slopes = new ArrayList<Double>();
		
	}
	
	public Blob(){
		
		head = null;
		blobID = -1;
		size = 1;
		inGrain = false;
		center = new double[2];
		closestBlobs = new ArrayList<ScaledBlob>();
		slopes = new ArrayList<Double>();
		
	}
}
